// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/test/slider_test_api.h"

#include "ui/views/controls/slider.h"

namespace views {
namespace test {

    SliderTestApi::SliderTestApi(Slider* slider)
        : slider_(slider)
    {
    }

    SliderTestApi::~SliderTestApi()
    {
    }

    void SliderTestApi::SetListener(SliderListener* listener)
    {
        slider_->set_listener(listener);
    }

} // namespace test
} // namespace views
